import { UIMgr, UILayer } from "./UIMgr";
import { HUD } from "./HUD";

const {ccclass, property} = cc._decorator;

@ccclass
export class AppStart extends cc.Component {

    // @property(cc.Label)
    // label: cc.Label = null;

    // @property
    // text: string = 'hello';

    onLoad () {
        UIMgr.inst.setup(UILayer.NUM);
        UIMgr.inst.showUI(HUD);
    }
}
